package com.b511.swpu.cementbackend.entity;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.hibernate.annotations.GenericGenerator;
import org.hibernate.validator.constraints.Range;

import javax.persistence.*;

@Entity
@Getter
@Setter
@Accessors(chain = true)
// 固前钻井液性能数据 对应 CM_FLUID_PEFORMANCE
public class CM_FluidPerformance extends BABaseEntity{
    @Id
    @GenericGenerator(name="cmPerformanceGenerator", strategy="uuid")
    @GeneratedValue(generator="cmPerformanceGenerator")
    private String CM_FluidPerformance_ID;

    @Basic
    @Column(name = "CASINGSIZE")
    private Double CasingSize;

    @Basic
    @Column(name = "BITSIZE")
    private Double BitSize;

    @Basic
    @Column(name = "FLUIDSYSTEM", length = 50)
    private String FluidSystem;

    @Basic
    @Column(name = "FLUIDTYPE", length = 50)
    private String FluidType;

    @Basic
    @Column(name = "RPM600")
    private Double RPM600;

    @Basic
    @Column(name = "RPM300")
    private Double RPM300;

    @Basic
    @Column(name = "RPM200")
    private Double RPM200;

    @Basic
    @Column(name = "RPM100")
    private Double RPM100;

    @Basic
    @Column(name = "RPM6")
    private Double RPM6;

    @Basic
    @Column(name = "RPM3")
    private Double RPM3;

    @Basic
    @Column(name = "THERMALCONDUCTIVITY")
    private Double ThermalConductivity;

    @Basic
    @Column(name = "SPECIFICHEAT")
    private Double SpecificHeat;

    @ManyToOne
    @JoinColumn(name="ba_well_id")
    private BA_Well well;

}
